﻿using System.IO;

namespace ZProto
{
    public interface ICodeGenerator
    {
        string TypeFileName { get; }
        string WriterFileName { get; }
        string ReaderFileName { get; }
        void GenerateProtoType();
        void GenerateProtoWriter();
        void GenerateProtoReader();
        void BeginWriter(TextWriter writer);
        void BeginType(ProtoType type);
        void EndType();
        void EndWriter();

    }
}
